const apiHostDev = 'http://192.168.2.121:8080/';
const apiHostTest = 'http://10.64.26.27:8080/';
const apiHostProd = 'http://10.70.48.81:8080/';

const resHostDev = 'http://cmpuat.changan.com/';
const resHostTest = 'http://cmpuat.changan.com/';
const resHostProd = 'http://cmp.changan.com/';

let config = {
    apiHost: process.env.NODE_ENV === 'prod' ? apiHostProd : (process.env.NODE_ENV === 'test' ? apiHostTest : apiHostDev),
    resHost: process.env.NODE_ENV === 'prod' ? resHostProd : (process.env.NODE_ENV === 'test' ? resHostTest : resHostDev)
};
export default config;